from sqlite3.dbapi2 import Binary
from pandas.core.frame import DataFrame
from GTexamlib.essay import Essay
import pandas as pd
import numpy as np
from sqlalchemy import create_engine
import sqlite3
from GTexamlib.imports import *
import base64

path_tmp='.'+os.sep+'temp'+os.sep


# 将 图片的二进制内容 转成 真实图片
with open("img.jpg","wb") as f:
    f.write(img_bin) # img_bin里面保存着 以二进制方式读取的图片内容,当前目录会生成一张img.jpg的图片

print(img_bin)
